<?php

namespace app\library\websocket\event;

use Swoole\WebSocket\Server;

class ErrorEvent
{
	static function handle(Server $server, int $worker_id, int $worker_pid, int $exit_code, int $signal)
	{
		echo <<<HTML
出现异常：
worker_id:$worker_id
worker_pid:$worker_pid
exit_code:$exit_code
signal:$signal
HTML;

	}
}
